package com.twu.biblioteca.book;


public class Book {
    protected int id;
    protected String name;
    protected BookStatus status;

    public Book(int id, String name, BookStatus status) {
        this.id = id;
        this.name = name;
        this.status = status;
    }

    public int getId() {
        return this.id;
    }

    public BookStatus getStatus() {
        return this.status;
    }

    public void setStatus(BookStatus status) {
        this.status = status;
    }

    public String toString() {
        return (this.id + "," + this.name + "," + this.status + "\n");
    }
}
